package demo1.Assignment2;

public interface Constant {

    enum PhoneAutribute {
        BRAND(1),
        COLOUR(2);
        private final int value;

        PhoneAutribute(int value) {
            this.value = value;
        }

        public int getValue() {
            return value;
        }
    }

    /**
     * 品牌类型
     */
    enum BrandTYpe {
        IPHONE(1),
        HUAWEI(2);
        private final int value;

        BrandTYpe(int value) {
            this.value = value;
        }

        public int getValue() {
            return value;
        }}


    /**
     * 手机颜色类型
     */
    enum ColourType {
        WHERE(1),
        BLACK(2);
        private final int value;

        ColourType(int value) {
            this.value = value;
        }

        public int getValue() {
            return value;
        }
    }

}
